package vivace.view;

import javax.swing.JRadioButtonMenuItem;

import lib.Texter.CText;
import lib.Texter.Text;

public class VRadioButtonMenuItem extends JRadioButtonMenuItem implements CText {
	
	private String key;
	
	/**
	 * VRadioButtonMenuItem to let CHAMP choose language of the menu button
	 * @param key
	 */
	public VRadioButtonMenuItem(String key){
		super(Text.getText(key));
		
		this.key = key;
		Text.registrera(this);
	}
	
	public void setCFont() {
		
	}

	public void setCText() {
		setText(Text.getText(key));
	}

}
